# This is a sample Python script.
while True:
    try:
        A = eval(input("输入被除数"))
        B = eval(input("输入除数"))
        print("结果为：",A/B)
    except ZeroDivisionError:
            print("除数不能为0")
    except ValueError:
            print("输入不为整数")
